package cn.edu.zknu.mita.mapper;

import cn.edu.zknu.mita.model.User;
import org.apache.ibatis.annotations.Param;

/**
 * Created by iwlnner on 2020/3/19.
 */
public interface UserMapper {

    User checkLogin(@Param("username") String username, @Param("password") String password);

    User queryUserByUsername(String username);

    User queryUserByTel(String tel);

    void saveUser(User user);
}
